// BEM Navigation Component
.nav {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    
    &__container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }
    
    &__brand {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 20px;
        font-weight: bold;
        
        &-logo {
            width: 32px;
            height: 32px;
            margin-right: 12px;
        }
        
        &-text {
            font-size: 20px;
            font-weight: bold;
        }
    }
    
    &__menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        
        &-item {
            position: relative;
            
            &--active {
                .nav__link {
                    color: #007bff;
                    background-color: #f8f9fa;
                }
            }
            
            &--has-dropdown {
                &:hover {
                    .nav__dropdown {
                        display: block;
                    }
                }
            }
        }
    }
    
    &__link {
        display: block;
        padding: 16px 20px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        
        &:hover {
            color: #007bff;
            background-color: #f8f9fa;
        }
        
        &--button {
            margin: 8px;
            padding: 8px 16px;
            background-color: #007bff;
            color: white;
            border-radius: 4px;
            
            &:hover {
                background-color: #0056b3;
            }
        }
    }
    
    &__dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        
        &-item {
            border-bottom: 1px solid #f0f0f0;
            
            &:last-child {
                border-bottom: none;
            }
        }
        
        &-link {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            transition: background-color 0.2s ease;
            
            &:hover {
                background-color: #f8f9fa;
            }
        }
    }
    
    &__toggle {
        display: none;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        
        span {
            display: block;
            width: 100%;
            height: 2px;
            background-color: #333;
            margin-bottom: 5px;
            transition: all 0.3s ease;
            
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    
    // Responsive modifiers
    @media (max-width: 768px) {
        &--mobile {
            .nav__menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: white;
                border-bottom: 1px solid #e0e0e0;
                flex-direction: column;
                
                &--open {
                    display: flex;
                }
            }
            
            .nav__toggle {
                display: block;
            }
        }
    }
}

// Similar navigation component with different naming
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    
    &-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 20px;
        font-weight: bold;
    }
    
    &-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    &-link {
        display: block;
        padding: 16px 20px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        
        &:hover {
            color: #007bff;
            background-color: #f8f9fa;
        }
    }
}